<?php
namespace app\super\validate;
use think\Validate;
class TeamValidate extends Validate{
    protected $rule = [
        'team_name' => 'require',
        'team_number' =>'require',
        'team_explain' =>'require',
        'co_name' =>'require',
        'co_code' =>'require',
        'co_address' =>'require',
        'co_people' =>'require',

    ];
    protected $message = [
        'team_name.require' => '团队名称不能为空',
        'team_number.require' => '团队编号不能为空',
        'team_explain.require' => '职能说明不能为空',
        'co_name.require' => '企业名称不能为空',
        'co_code.require' => '企业统一信用代码不能为空',
        'co_address.require' => '企业详情地址不能为空',
        'co_people.require' => '企业法定人不能为空',
    ];
}